WPML\Core\Twig\Loader\FilesystemLoader A

Total Complexity 66
Dependencies 2
Dependents 0
Total lines 241
Lines of code 166
Logical lines of code 101
Comment lines 51
Methods 16
Properties 4

Methods 16

Method Rating Maintainability Complexity Lines of code
findTemplate()
A
44 14 45
validateName()
S
55 6 18
isAbsolutePath()
S
73 6 3
__construct()
S
64 5 9
prependPath()
S
59 4 13
exists()
S
59 4 12
parseName()
S
60 4 11
getCacheKey()
S
63 4 10
setPaths()
S
65 3 9
addPath()
S
64 3 8
getSource()
S
66 3 7
getSourceContext()
S
68 3 6
isFresh()
S
69 3 6
getPaths()
S
78 2 3
getNamespaces()
S
80 1 3
normalizeName()
S
77 1 3